import type { FC } from 'react'
import { QuestionInputPropsType } from './QuestionInput'
import { QuestionTitlePropsType } from './QuestionTitle'

//各个组件的type
export type ComponentPropsType = QuestionInputPropsType | QuestionTitlePropsType
export type ComponentConfType = {
    title: string,
    type: string,
    components:FC<ComponentPropsType>
}